package org.ladybug.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.ladybug.service.SearchService;

import test.AbstractLadybugTest;

public class UtenteSearchServiceTest extends AbstractLadybugTest {

	SearchService utenteSearchService;

	public UtenteSearchServiceTest() {
		super("utenteServiceTest");
	}

	// HibernateTransactionManager transactionManager;
	public void testFind() {
		// System.out.println(transactionManager);
		Map params = new HashMap();
		params.put(UtenteSearchService.NICKNAME, "edoardo");
		List l = (List) utenteSearchService.find(null, params);
		System.out.println(l);
	}

	public SearchService getUtenteSearchService() {
		return utenteSearchService;
	}

	public void setUtenteSearchService(SearchService utenteSearchService) {
		this.utenteSearchService = utenteSearchService;
	}

	// public HibernateTransactionManager getTransactionManager() {
	// return transactionManager;
	// }
	// public void setTransactionManager(HibernateTransactionManager
	// transactionManager) {
	// this.transactionManager = transactionManager;
	// }

}
